package DesignPatern.A05_建造者模式.QXB.A03高级模式.Builder;

import DesignPatern.A05_建造者模式.QXB.A03高级模式.Product.BenzModel;
import DesignPatern.A05_建造者模式.QXB.A03高级模式.Product.CarModel;

import java.util.ArrayList;

/**
 * @Author: Du
 * @Date: 2021/7/21 10:37
 */
public class BenzBuilder extends CarBuilder
{
    private BenzModel benz = new BenzModel();
    @Override
    public void setSequence(ArrayList<String> sequence)
    {
        this.benz.setSequence(sequence);
    }
    
    @Override
    public CarModel getCarModel()
    {
        return this.benz;
    }
}
